entering State
abstract fun enteringState( stateMachine: StateMachine<S, T>, currentState: S, transition: T, targetState: S)
Content copied to clipboard
After a state transition has been verified to be legal but has not yet been applied to the machine.
Parameters
state Machine
the machine notifying the state change
current State
the current state of the machine
transition
the transition that initiated the state change
target State
the resulting state of this transition